package structural.composite;

/**
 * @Description: 字典项
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class DirectoryItem extends AbstractDirectory {
    private String value;

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getValue() {
        return value;
    }

    public DirectoryItem(String name, String value) {
        this.setName(name);
        this.setValue(value);
    }

}
